package com.movitech.mobile.cz.base.purchase.service;

import com.movitech.mobile.cz.base.purchase.entity.WFlowFormAwardBid;
import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.ext.ExtWFlowFormAwardBid;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 中标流程表单-中标 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-19
 */
public interface WFlowFormAwardBidService extends IService<WFlowFormAwardBid> {

	/**
	 * 查询指定合作年数内的供方中标记录
	 * @param supplierId
	 * @return
	 */
	public WFlowFormAwardBid getSupplierAwardBidBySupplierIdAndCooperationYears(String supplierId, int cooperationYears);

	/**
	 * 查询未同步至成本系统的定标信息。
	 * @param
	 * @return java.util.List<com.movitech.mobile.cz.base.purchase.entity.WFlowFormAwardBid>
	 * @author luodengzhong
	 * @version 1.0.0
	 * @createTime 2023/4/11 0011
	 * @copyright Copyright ©️ 2021 北京魔马科技
	 */
	public List<Map<String,Object>> getSupplierAwardBidsUnSyn();

	public void updateSynStatus(String id);
}
